<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />

<title>宝润兴业OA系统 登录</title>
<link href="css/login.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
	if(top!=self)
	if(self!=top) top.location=self.location;
//-->
</script>
</head>

<body onload="javascript:document.myform.username.focus();">
<div class="login-box">
	<div class="login-table">
    <form action="index.php?m=admin&c=index&a=login&dosubmit=1" method="post" name="myform">
   
        <table cellpadding="0" cellspacing="0">
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="username" onmouseover="this.style.border='solid 1px #efb78b'" onmouseout="this.style.border='solid 1px #bcbcbc'"></td>
            </tr>
            <tr>
                <td>密　码：</td>
                <td><input name="password" type="password" onmouseover="this.style.border='solid 1px #efb78b'" onmouseout="this.style.border='solid 1px #bcbcbc'"></td>
            </tr>
            <tr>
                <td>验证码：</td>
                <td><input type="text" name="code" onmouseover="this.style.border='solid 1px #efb78b'" onmouseout="this.style.border='solid 1px #bcbcbc'"></td>
            </tr>
            <tr>
            	<td valign="top"></td>
                <td valign="top"><?php echo form::checkcode('code_img')?><a href="javascript:document.getElementById('code_img').src='<?php echo SITE_PROTOCOL.SITE_URL.WEB_PATH;?>api.php?op=checkcode&m=admin&c=index&a=checkcode&time='+Math.random();void(0);">换一张</a></td>
            </tr>
            <tr>
            	<td valign="top"></td>
                <td valign="top"><button  name="dosubmit" type="submit" class="btn_login">登录</button></td>
            </tr>
        </table>  </form>
    </div>
</div>
<div class="copyright">Copyright © 2014 BERChina All Rights Reserved</div>


</body>
</html>